Been, J., Rohwedder, S. and Hurd, M.D. (2019) Does home production replace consumption spending? Evidence
from shocks in housing wealth in the Great Recession.

To replicate the results, take the following steps:

1) Use all_panel.dta data-file: file with all CAMS waves in wide format with raw time use variables. 
If signed up as a member of the HRS community, this data is accessible from the RAND website: https://www.rand.org/labor/aging/dataprod.html

2) Run Do1-Construct_cons_time-use_long_data.do to 
a) Construct time use definitions 
b) Go from wide to long format 
c) Merge with CAMS consumption components and HRS (cams_reg.dta). cams_reg.dta is constructed by merging CAMS with the RAND HRS version M data file. 
If signed up as a member of the HRS community, both are accessible from the RAND website: https://www.rand.org/labor/aging/dataprod.html
Since the timing of the fielding of the HRS (even years) and CAMS (odd years) surveys are different, the variables in CAMS are merged to the 
preceding HRS wave, e.g. CAMS 2005 to HRS 2004, etc. For details, see reg_variables.do that produces cams_reg.dta from cams_working.dta. cams_working.dta is constructed
by merging raw CAMS and raw HRS files. Additionally, it adds state-level information on unemployment rates and house price indices from external sources. 
For details, see dataset.do. We thank Marco Angrisani for providing us with these data and do-files. 
d) Keep observations with non-missing time use in waves 2-6. 

This produces cams_long_cons_time-use.dta


3) Run Do2-Tables_Figures.do to produce descriptive results.


4) Run Do3-Estimation to generate regression variables and produce econometric results.

